package com.jjb.common.task.event;

import com.jjb.common.task.infrastructure.persistence.domainobject.MessageTaskDO;
import org.springframework.context.ApplicationEvent;

public class TaskEvent extends ApplicationEvent {
    private final MessageTaskDO messageTask;

    public TaskEvent(MessageTaskDO messageTask) {
        super(messageTask);
        this.messageTask = messageTask;
    }

    public MessageTaskDO getMessageTask() {
        return messageTask;
    }
}
